'use strict'



function Random(seed) {
    this.seed = seed || Math.floor(Math.random() * 65536)
    this.x = this.seed
}

Random.prototype.getRand = function getRand() {
    this.x = (901 * this.x + 1234) % 65536
    return this.x % 100
}



